public class Test {
    public static void main(String[] args) {
        Dog dog1=new Dog("小黑","白色");
        dog1.bark();
        dog1.eat();
        Bird bird1=new Bird("小白","白色");
        bird1.fly();
        bird1.eat();
    }
}